package Data;
/**
 * Record class contains the Records for the criminals
 * 
 * @param RecordID is the record id of the criminal
 * @param fName is the first name of the criminal
 * @param lName is the last name of the criminal
 * @param status is the current status of the criminal 
 * @author Salim
 *
 */

public class Record {
	
	String recordID;
	String fName;
	String lName;
	String status;
	
	// default constructor
	public Record()
	{}
	
	
	public Record(String recordID, String fName, String lName, String status)
	{
		this.recordID = recordID;
		this.fName = fName;
		this.lName = lName;
		this.status = status;
	}
	
	// getters and setters
	public String getRecord() // returns the record with details of the criminal
	{ 
		return recordID+fName+lName+status;
	}
	
	public String getRecordID()
	{
		return recordID;
	}
	
	public String getFirstName()
	{
		return fName;
	}

	public String getLastName()
	{
		return lName;
	}
	public String getStatus()
	{
		return status;
	}

	// set new status for the criminal
	public void updateStatus(String newStatus) {
		this.status=newStatus;
		
	}

	
}

